#
# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc


# set standard environment
export EDITOR=nano
export DE='_DESKTOP_SESSION_'              # gnome, kde, xfce, lxde, mate
export DESKTOP_SESSION='_DESKTOP_SESSION_' # lxde


# set custom environment
sudo /root/.automated_script.sh
sudo /root/.language.sh
export $(cat /etc/locale.conf)


# launch X
[ -n "$DESKTOP_SESSION" -a -z "$DISPLAY" -a "$(tty)" = /dev/tty1 ] && exec startx
